/*
   armelf.h

   http://code.google.com/p/ccg-arm/
   ccg-arm
   Copyright 2013-6-11 supersuperguo

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

   This file defines constances and structs for ELF for the ARM
   architecture [AAELF] (ABI r2.09)
   The document is located at

	http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ihi0036b/index.html
 */

#ifndef ARMELF_H_
#define ARMELF_H_

#include "elf.h"

typedef enum ArmElfFlagEnum {
	EF_ARM_ABIMASK = 0xFF000000u,
	EF_ARM_BE8 = 0x00800000u,
	EF_ARM_GCCMASK = 0x00400FFF,
	EF_ARM_ABI_FLOAT_HARD = 0x00000400,
	EF_ARM_ABI_FLOAT_SOFT = 0x00000200
} ArmElfFlagEnum;

typedef enum ElfOsAbiEnum {
	ELFOSABI_ARM_AEABI = 64
} ElfOsAbiEnum;

#endif /* ARMELF_H_ */
